package cn.iocoder.yudao.module.system.service.merchant;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.merchant.vo.MerchantApplicationPageReqVO;
import cn.iocoder.yudao.module.system.controller.admin.merchant.vo.MerchantApplicationPageRespVO;
import cn.iocoder.yudao.module.system.controller.admin.merchant.vo.MerchantAuthUpdateReqVO;
import cn.iocoder.yudao.module.system.controller.app.merchant.vo.BusinessBaseApplicationReqVO;
import cn.iocoder.yudao.module.system.controller.app.merchant.vo.BusinessMerchantApplicationVO;

import java.io.IOException;

public interface MerchantAuthService {

    Boolean insertMerchantAuth(BusinessBaseApplicationReqVO businessBase,String requestMappingPath) throws IOException;


    Boolean insertMerchantAuth(BusinessMerchantApplicationVO businessMerchant, String requestMappingPath) throws IOException;

    PageResult<MerchantApplicationPageRespVO> selectPage(MerchantApplicationPageReqVO reqVO);

    Boolean passedMerchantAuth(MerchantAuthUpdateReqVO reqVO);

    Boolean rejectMerchantAuth(MerchantAuthUpdateReqVO reqVO);
}
